export interface AccessTokenInfo {
	accessToken: string;
	expiresIn: number;
	getTime: number;
	openid: string;
}

export interface AccessConfig {
	access_token: string;
	refresh_token: string;
	openid: string;
	scope: string;
	unionid?: string;
	expires_in: number;
}

export interface WeChatError {
	errcode: number;
	errmsg: string;
}

export interface WeChatUserInfo {
	openid: string;
	nickname: string;
	sex: number;
	language: string;
	city: string;
	province: string;
	country: string;
	headimgurl: string;
	privilege: string[];
	unionid: string;
}
